Skip to content

libpebble3: pure-Kotlin iOS location, drop LibPebbleSwift framework#230

Open
SalvatoreT wants to merge 1 commit into
coredevices:masterfrom
SalvatoreT:kmp-sdk/01-ios-location-pure-kotlin
Open

libpebble3: pure-Kotlin iOS location, drop LibPebbleSwift framework#230
SalvatoreT wants to merge 1 commit into
coredevices:masterfrom
SalvatoreT:kmp-sdk/01-ios-location-pure-kotlin

Conversation

@SalvatoreT
Copy link
Copy Markdown

Reimplement IOSLocation in pure Kotlin/Native against platform.CoreLocation (a system framework auto-linked by Kotlin/Native) instead of a hand-built Swift framework. This means iOS consumers of libpebble3 no longer need a separate LibPebbleSwift framework.

  • Add util/IOSLocation.kt (CoreLocation-backed); wire it into IosSystemGeolocation.
  • Delete the libpebble-swift Xcode project, the libPebbleSwift cinterop/.def, the buildFrameworkLibPebbleSwift task and BuildSwiftFramework class, and the -framework LibPebbleSwift linkerOpts in libpebble3 and composeApp.

Reimplement IOSLocation in pure Kotlin/Native against platform.CoreLocation
(a system framework auto-linked by Kotlin/Native) instead of a hand-built Swift
framework. This means iOS consumers of libpebble3 no longer need a separate
LibPebbleSwift framework.

- Add util/IOSLocation.kt (CoreLocation-backed); wire it into IosSystemGeolocation.
- Delete the libpebble-swift Xcode project, the libPebbleSwift cinterop/.def, the
  buildFrameworkLibPebbleSwift task and BuildSwiftFramework class, and the
  -framework LibPebbleSwift linkerOpts in libpebble3 and composeApp.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: 8c532c09afcb
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jun 2, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants